<!DOCTYPE >
<html   lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8" content="">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>模板界面</title>
    <meta content="" name="descriptison">
    <meta content="" name="keywords">

    <!-- Favicons -->
    <link th:href="@{/assets/img/favicon.png}" rel="icon">
    <link th:href="@{/assets/img/apple-touch-icon.png}" rel="apple-touch-icon">

    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,600,600i,700,700i,900" rel="stylesheet">

    <!-- Vendor CSS Files -->
    <link th:href="@{/assets/vendor/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/icofont/icofont.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/boxicons/css/boxicons.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/animate.css/animate.min.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/venobox/venobox.css}" rel="stylesheet">
    <link th:href="@{/assets/vendor/aos/aos.css}" rel="stylesheet">
    <link th:href="@{/css/index.css}" rel="stylesheet" >
    <link th:href="@{/css/dialog.css}" rel="stylesheet" >

    <!-- Template Main CSS File -->
    <link th:href="@{/assets/css/style.css}" rel="stylesheet">

</head>

<body>


<!-- ======= Our Team Section ======= -->
<section id="team" class="team">
    <div class="container">

        <div class="section-title">
            <h2>店铺信息</h2>
            <p>基于springboot、thymeleaf、mybatis的在线点餐</p>
        </div>

        <!-- ======= Counts Section ======= -->
        <section class="counts section-bg">
            <div class="container">

                <div class="app-container">
                    <button class="open-dialog-button"
                            style="position: absolute; top: 181px; right: 350px;background-color: #2a3f54; border-radius: 10px">编辑信息
                    </button>
                    <div class="dialog" style="display:none ; ">
                        <div class="dialog-main" style="position: absolute;left: 550px;top: 150px">
                            <div class="dialog-head">
                                <button class="dialog-close-button icon-botton" style="background-color: #2a3f54">x</button>
                                <br>
                                <center>
                                    <form th:action="@{/merchant/updateDetail}" method="post">
                                        <label>店铺名称：<input type="text" th:value="${merchantByID.merchantName}" name="merchantName"></label><br><br>
                                        <label>店铺密码：<input type="text" th:value="${merchantByID.merchantPwd}" name="merchantPwd"></label><br><br>
                                        <label>店铺地址：<input type="text" th:value="${merchantByID.address}" name="address"></label><br><br>
                                        <label>联系方式：<input type="text" th:value="${merchantByID.phone}" name="phone"></label><br><br>
                                                                          <input type="hidden" th:value="${merchantByID.id}" name="id">
                                        <input type="submit" value="确认" class="open-dialog-button" style="background-color: #2a3f54">
                                    </form>
                                </center>
                            </div>
                        </div>
                    </div>
                </div>

                <table class="table table-striped">
                    <tr>
                        <td>id</td>
                        <td><span th:text="${merchantByID.id}"></span></td>
                    </tr>
                    <tr>
                        <td>merchantName</td>
                        <td><span th:text="${merchantByID.merchantName}"></span></td>
                    </tr>
                    <tr>
                        <td>realName</td>
                        <td><span th:text="${merchantByID.realName}"></span></td>
                    </tr>
                    <tr>
                        <td>phone</td>
                        <td><span th:text="${merchantByID.phone}"></span></td>
                    </tr>
                    <tr>
                        <td>message</td>
                        <td><span th:text="${merchantByID.message}"></span></td>
                    </tr>
                    <tr>
                        <td>address</td>
                        <td><span th:text="${merchantByID.address}"></span></td>
                    </tr>

                </table>

            </div>
        </section>


    </div>
</section><!-- End Our Team Section -->
<br /><br /><br /><br /><br /><br />

<!-- ======= Footer ======= -->
<footer id="footer">


    <div class="container">
        <div class="copyright">
            &copy; Copyright <strong><span>Mamba</span></strong>. All Rights Reserved
        </div>
        <div class="credits">

            Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a>
        </div>
    </div>
</footer><!-- End Footer -->

<a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>

<!-- Vendor JS Files -->
<script th:src="@{/assets/vendor/jquery/jquery.min.js}"></script>
<script th:src="@{/assets/vendor/bootstrap/js/bootstrap.bundle.min.js}"></script>
<script th:src="@{/assets/vendor/jquery.easing/jquery.easing.min.js}"></script>
<script th:src="@{/assets/vendor/php-email-form/validate.js}"></script>
<script th:src="@{/assets/vendor/jquery-sticky/jquery.sticky.js}"></script>
<script th:src="@{/assets/vendor/venobox/venobox.min.js}"></script>
<script th:src="@{/assets/vendor/waypoints/jquery.waypoints.min.js}"></script>
<script th:src="@{/assets/vendor/counterup/counterup.min.js}"></script>
<script th:src="@{/assets/vendor/isotope-layout/isotope.pkgd.min.js}"></script>
<script th:src="@{/assets/vendor/aos/aos.js}"></script>

<!-- Template Main JS File -->
<script th:src="@{/assets/js/main.js}"></script>

<script th:src="@{/js/main.js}"></script>
</body>

</html>